<template>
    <cart-item-product
        :selectData="selectData"
        :productInfo="productInfo"
        @changeCheck="changeCheck"></cart-item-product>
</template>

<script>
import cartItemProduct from "@/pages_me/components/billing/cart-item-product.vue"
export default {
    components: {
        cartItemProduct,
    },
    props: {
        productInfo: {
            type: Object,
            default: {},
        },
        selectData: {
            type: Object,
            default: {},
        },
        isShowCheckBox: {
            type: Boolean,
            default: true,
        },
    },
    data() {
        return {}
    },
    methods: {
        upNum(e) {
            this.$emit("upNum", this.productInfo)
        },
        changeCheck(e) {
            this.$emit("changeCheck", e)
        },

        checkboxChange(e, id) {
            this.$emit("checkboxChange", e, id)
        },
    },
}
</script>

<style lang="scss" scoped>
.cart-item {
    background: $color-white;
    padding: 11rpx $app-page-padding;
    border-radius: $border-radius-10;
    margin-top: 20rpx;
}
</style>
